<?php
defined('_JEXEC') or die( 'Restricted access' );

jimport( 'joomla.application.component.model' );
/**
 * Description of JLoja_Model
 *
 * @author joaoneto
 */
class JLoja_Model extends JModel
{
	public static function getLangCode( $param )
	{
		switch ( $param ) {
			case 1:
				return 'pt_BR';
			case 2:
				return 'en_US';
			default:
				return 'pt_BR';
		}
	}
	public static function getCurrentLang()
	{
		return 'pt_BR';
	}

	public static function getDate()
	{
		return date( 'Y-d-m h:m:s', time() );
	}
}